Skip to content

Fix assertion during cleanup of XCB connection - #2

Open
scfarley wants to merge 1 commit into
silentz:masterfrom
scfarley:fix_xcb_assertion
Open

Fix assertion during cleanup of XCB connection#2
scfarley wants to merge 1 commit into
silentz:masterfrom
scfarley:fix_xcb_assertion

Conversation

@scfarley

Copy link
Copy Markdown

Upon exit of lemonbar, the following assertion will be thrown:
Assertion failed: (pthreadret == 0),
function _xcb_in_wake_up_next_reader, file xcb_in.c, line 943.

This is due to the XCB connection also being disconnected by the call to XCloseDisplay(), which calls xcb_disconnect(). Relying upon only XCloseDisplay() during cleanup will suffice.

Upon exit of lemonbar, the following assertion will be thrown:
    Assertion failed: (pthreadret == 0),
    function _xcb_in_wake_up_next_reader, file xcb_in.c, line 943.

This is due to the XCB connection also being disconnected by the call to
XCloseDisplay(), which calls xcb_disconnect().  Relying upon only
XCloseDisplay() during cleanup will suffice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant